#ifndef DRAWPIXMAP_H
#define DRAWPIXMAP_H

#include <QtDeclarative>

class DrawPixmap : public QDeclarativeImageProvider
{
public:
    DrawPixmap();

    QPixmap requestPixmap(const QString &id, QSize *size, const QSize &requestedSize);

private:
    int    m_iPosX;
    int    m_iPosY;
    int    m_iWidth;
    int    m_iHeight;
    int    m_iDepth;
    int    m_iDistence;
    QList<double> m_lstPercent;
    QList<int>  m_lstSpanAgl;
    QList<int>  m_lstStartAgl;
};

#endif // DRAWPIXMAP_H
